package com.isunland.managesystem.ui;

import android.support.v4.app.Fragment;
import com.isunland.managesystem.entity.ProcessContent;
import com.isunland.managesystem.entity.WorkDistribute;

/**
 * 对象功能:
 * 开发公司: 北京信普达系统工程有限公司
 * 开发人员: HuXiaoDan
 * 创建时间: 2017/5/12 15:02
 */
public class WorkDistributeDetailActivity extends SingleFragmentActivity {
  @Override protected Fragment createFragment() {
    WorkDistribute content = (WorkDistribute) getIntent().getSerializableExtra(
        WorkDistributeDetailFrament.EXTRA_CONTENT);
    ProcessContent processContent = (ProcessContent) getIntent().getSerializableExtra(
        WorkDistributeDetailFrament.EXTRA_PROCESSCONTENT);
    return WorkDistributeDetailFrament.newInstance(content, processContent);
  }
}
